Repository navigation
[Feature] 웹 CI 및 Docker 배포 워크플로우 추가 - #4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Motivation
웹 저장소 단독으로 빌드 검증과 배포 흐름을 자동화할 필요가 있어 GitHub Actions 기반 CI/CD를 추가했습니다.
추가로, 멀티레포 분리 이후에도
web이미지 빌드 과정에서mobile/src/bridge를 복사하던 Dockerfile 의존이 남아 있어 현재 저장소 구조에 맞게 정리했습니다.Problem Solving
push/pull_request기준으로 동작하는 웹 전용 GitHub Actions 워크플로우를 추가했습니다.pnpm install,test,build를 수행하도록 구성했습니다.main브랜치에 push 된 경우에만 Docker 이미지를 빌드하고 Docker Hub에 푸시하도록 설정했습니다.Dockerfile에서mobile/src/bridge복사 단계를 제거해 현재 repo 구조와 맞지 않는 경로 의존을 없앴습니다.To Reviewer
mainpush 시 이미지 빌드/푸시가 의도대로 동작하는지 중점적으로 봐주시면 됩니다.VITE_MODE같은 빌드 인자 주입은 아직 workflow에 반영하지 않았기 때문에, 환경별 빌드가 필요하면 후속 반영이 필요합니다.